		 <style>
		#ff{margin:20px auto;width:600px;}
		#ff tr{width:600px;height:30px;}
		#ff tr td{algin:left;}
		#ff tr td input{margin-left:10px;}
		 </style>
		 <script>
		 $(document).ready(function(){
			 $("#sub").click(function(){
			 	 $('#ff').form('submit', {
				url:'<?=$actionurl?>',
			    onSubmit: function(){

	   				  },
	     		 success:function(data){
	        		 	$.messager.alert('Warning',data);

	   				 },
	   				 onLoadError:function(){
	   				 	$.messager.alert('Warning','保存失败');
	   				 }

	 				});
			 });

		 });



		 </script>
		 <form id="ff" method="post">
		 <table>
		 <caption>网站基本设置</caption>
	        <tr>
	            <td align="right" width="150"><strong style="color:#f00;">*</strong>网站名称:</td>
	            <td><input class="easyui-validatebox" type="text" value="<?=isset($data['SiteName']) ? $data['SiteName'] : ''?>" name="SiteName" data-options="required:true"></td>
	        </tr>
	        <tr>
	            <td align="right">网站域名:</td>
	            <td><input class="easyui-validatebox" type="text" value="<?=isset($data['SiteDomain']) ? $data['SiteDomain'] : ''?>" name="SiteDomain" ></td>
	        </tr>
	         <tr>
	            <td align="right">网站关键词:</td>
	            <td><input class="easyui-validatebox" type="text" value="<?=isset($data['SiteKeyWords']) ? $data['SiteKeyWords'] : ''?>" name="SiteKeyWords"></td>
	        </tr>
	         <tr>
	            <td align="right">网站描述:</td>
	            <td><input class="easyui-validatebox" type="text" value="<?=isset($data['SiteDescription']) ? $data['SiteDescription'] : ''?>" name="SiteDescription" ></td>
	        </tr>
	         <tr>
	            <td align="right">公司名称:</td>
	            <td><input class="easyui-validatebox" type="text" value="<?=isset($data['CompanyName']) ? $data['CompanyName'] : ''?>" name="CompanyName" ></td>
	        </tr>
	         <tr>
	            <td align="right">公司电话:</td>
	            <td><input class="easyui-validatebox" type="text" value="<?=isset($data['CompanyTel']) ? $data['CompanyTel'] : ''?>" name="CompanyTel" ></td>
	        </tr>
	        <tr>
	            <td align="right"><label for="email">邮箱地址:</td>
	            <td><input class="easyui-validatebox" type="text" value="<?=isset($data['CompanyEmail']) ? $data['CompanyEmail'] : ''?>" name="CompanyEmail" data-options="validType:'email'"></td>
	        </tr>
	        <tr>
	            <td align="right"><label for="subject">公司地址:</td>
	            <td><input class="easyui-validatebox" type="text" value="<?=isset($data['CompanyAddress']) ? $data['CompanyAddress'] : ''?>" name="CompanyAddress"></td>
	        </tr>
	         <tr>
	            <td align="right"><label for="subject">SMTP地址:</td>
	            <td><input class="easyui-validatebox" type="text" value="<?=isset($data['SmtpIP']) ? $data['SmtpIP'] : ''?>" name="SmtpIP"></td>
	        </tr>
	         <tr>
	            <td align="right"><label for="subject">SMTP帐号:</td>
	            <td><input class="easyui-validatebox" type="text" value="<?=isset($data['SmtpName']) ? $data['SmtpName'] : ''?>" name="SmtpName"></td>
	        </tr>
	         <tr>
	            <td align="right"><label for="subject">SSMTP密码:</td>
	            <td><input class="easyui-validatebox" type="password" value="<?=isset($data['SmtpPassWord']) ? $data['SmtpPassWord'] : ''?>" name="SmtpPassWord"></td>
	        </tr>
	        <tr>
	        <td></td>
	           <td> <input type="button" id="sub" value="保存"></td>
	        </tr>
	        </table>
	    </form>